import request from '@/utils/request'

// 获取能量计费规则
export function getFnListApi (params) {
  return request({
    url: '/charge/api/v1/fn_list',
    method: 'get',
    params
  })
}

/**
 * 获取加购包
 */
export function getExtraProducts (params) {
  return request({
    url: '/api/v2/product/by_type',
    method: 'get',
    params
  })
}
